package cn.tedu.bonfire.front.content.service;

import cn.tedu.bonfire.front.content.pojo.vo.InformVO;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Transactional
public interface IInformService {
    int countNewInforms(Long userId,Integer type);

    void updateNewInforms(Long userId,Integer type);

    /**
     *获取所有通知
     */
    List<InformVO> listAllInforms(Long userId, Integer type);
}
